<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.text.DateFormat"%>
<%@page import="com.ereport.entity.DailyActivity"%>
<%@page import="java.util.List"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link href="<%=application.getContextPath() %>/css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=application.getContextPath() %>/js/jquery-1.6.min.js"></script>	
<script language="javascript" src="<%=application.getContextPath() %>/js/calendar_eu.js"></script>
<script type="text/javascript" src="<%=application.getContextPath() %>/js/jquery-ui-1.8.17.custom.min.js"></script>	
<link rel="stylesheet" href="<%=application.getContextPath() %>/css/jquery-ui-1.8.17.custom.css"/>

<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>

<script type="text/javascript">
function showRfq(){
	$("#ajaxLoader").show();
	$.ajax({
		url:"<%=application.getContextPath() %>/businessReport/rfqOpen.do",
		mimetype: "text/html",
		cache: false,
		success: function(res){
			$("#rfqs").html(res);
		}
	
	}).done(function(html){
		$("#ajaxLoader").hide();
	}).fail(function(html){
		$("#ajaxLoader").hide();
		alert("Failed To Load the Data");
	});
}
</script>
<script type="text/javascript">
function showFnl(){
	<%
	Executives exObj=(Executives)session.getAttribute("loginUser");
	
	String exeName=exObj.getExeName();
	System.out.println("exe name "+exeName);
	%>
	
	window.open(" http://ascrm.advaitsoft.cloudbees.net/funnel/show.do?exeName=<%=exeName%>");
	
}
</script>
</head>
<style>
	#editor{
	width:95%;
	}
	#remarksEditor{
	width:95%;
	}
	#nextsteppopup {
	position:absolute;
  z-index:200; /* aaaalways on top*/
  padding: 3px;
 
  width: 250px;
  color: white;
	}
	.ui-dialog .ui-state-error { padding: .3em; }
	.ui-corner-all{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #666666;
	text-decoration: none;
	}
	.ui-corner-all:hover{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #666666;
	text-decoration: none;
	}
	.logout{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	height: 15px;
	width: 50px;
	font-weight: normal;
	color: red;
	text-decoration: none;
	}
	#bulletinDialog title{
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	}
	.tdinput{
	text-align: center;
	}
	.button-black{
		padding-bottom: 20px;
	}
	.button-black:hover{
		padding-bottom: 20px;
	}
	
	</style>

<body onload="MM_preloadImages('<%=application.getContextPath() %>/images/mb-hover.jpg','<%=application.getContextPath() %>/images/bp-hover.jpg','<%=application.getContextPath() %>/images/sp-hover.jpg')">
<table width="927" style="height:880px" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="116" align="left" valign="top" background="<%=application.getContextPath() %>/images/top-bg.jpg" style="background-repeat:repeat-x; background-position:left top">
    <%@ include file="common/exe-header.jsp" %></td>
  </tr>
  <tr>
    <td align="left" valign="top" height="30px">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    	<tr>
    		<td align="left" valign="top">&nbsp;&nbsp;
    			<a href="<%=application.getContextPath() %>/user/open.do"><img src="<%=application.getContextPath() %>/images/home1.jpg" width="20" height="20" border="0" /></a>    		</td>
    	<td align="center" valign="top">
    	   	</td>
    	<td width="8%" align="center"><a href="<%=application.getContextPath() %>/user/logout.do" style="font-family: sans-serif;">&nbsp;&nbsp;Logout</a></td>
    	</tr>
    </table>    </td>
  </tr>
  <tr>
    <td  align="left" height="150" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="23%"  align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="5%">&nbsp;</td>
            <td width="95%"><a href="<%=application.getContextPath() %>/DailyCallReport/open.do" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','<%=application.getContextPath() %>/images/dailycall-hover.jpg',1)"><img src="<%=application.getContextPath() %>/images/dailycall-active.jpg" name="Image2" width="190" height="58" border="0" id="Image2" /></a></td>
            </tr>
          <tr>
            <td>&nbsp;</td>
            <td><a href="<%=application.getContextPath() %>/conveyExpdture/open.do" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','<%=application.getContextPath() %>/images/convExp-hover.jpg',1)"><img src="<%=application.getContextPath() %>/images/convExp-active.jpg" name="Image3" width="190" height="62" border="0" id="Image3" /></a></td>
            </tr>
          <tr>
            <td>&nbsp;</td>
            <td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','<%=application.getContextPath() %>/images/busReport-hover.jpg',1)"><img src="<%=application.getContextPath() %>/images/busReport-hover.jpg" name="Image4" width="190" height="57" border="0" id="Image4" /></a></td>
            </tr>
        </table></td>
        <td width="76%" valign="top"><table width="100%" height="177" cellpadding="0" cellspacing="0" bordercolor="#F0F0F0" class="box-border1">
          <tr>
            <td width="99%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      
       <tr>
        <td>&nbsp;</td>
        <td align="center"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td width="20">&nbsp;</td>
        <td align="center" valign="top" class="heading">Business Report </td>
        <td width="20">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td align="center"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        	<tr>
        		<td  width="8%" >
        			<input type="button" id="rfqbutton" name="rfq" value="RFQ" class="button-black" style="width: 37px; height: 25px; font-size: 11px; margin-left: 5px; " onclick="javascript: showRfq()"/>
        		</td>
        		<!-- <td  width="8%"> 
        			<input type="button" id="mtdbutton" name="mtd" value="MTD" class="button-black" style="width: 40px; height: 25px; font-size: 11px; margin-left: 5px; " onclick="javascript: showMtd()"/>
        		</td>
        		<td width="8%">
        			<input type="button" id="ytdbutton" name="ytd" value="YTD" class="button-black" style="width: 43px; height: 25px; font-size: 11px; margin-left: 5px; " onclick="javascript: showYtd()"/>
        		</td> -->
        		<td width="82%">
        			<input type="button" id="fnlbutton" name="fnl" value="FUNNEL" class="button-black" style="width: 48px; height: 25px; font-size: 11px; margin-left: 5px; " onclick="javascript: showFnl()"/>
        		</td>
        	</tr>
        </table></td>
        <td>&nbsp;</td>
      </tr>
     <tr>
        <td>&nbsp;</td>
        <td align="center"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td >&nbsp;</td>
        <td align="center">
       
       
        </td>
        <td>&nbsp;</td>
      </tr>
       <tr>
        <td>&nbsp;</td>
        <td align="center">       </td>
        <td>&nbsp;</td>
      </tr>
       <tr>
        <td>&nbsp;</td>
        <td align="center"></td>
        <td>&nbsp;</td>
      </tr>
     
    </table></td>
          </tr>
        </table></td>
        <td width="3%" valign="top">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="left" height="10px" valign="top">&nbsp;
       </td>
  </tr>
  <tr>
    <td align="center"  valign="top">
    	<div id="ajaxLoader" style="display:none" align="center"><img src="<%=application.getContextPath()%>/images/load.gif"/></div>
    	<div id="rfqs"></div>
        <div id="mtds"></div>
        <div id="ytds"></div>
        <div id="fnls"></div>
    </td>
  </tr>
  <tr>
    <td height="40" align="left" valign="top" bgcolor="#0B0B0B">&nbsp;</td>
  </tr>
</table> 
</body>
</html>